package com.ruoyi.manage.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 护士排班对象 nurs_schedul
 * 
 * @author liuyangyang
 * @date 2025-06-10
 */
public class NursSchedul extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增ID */
    private Long nursSchedulId;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 0启用1禁用 */
    @Excel(name = "0启用1禁用")
    private Long status;

    /** 0正常1删除 */
    private Long delFlag;

    /** 手术计划ID */
    @Excel(name = "手术计划ID")
    private Long surgeryId;

    /** 护士类型 */
    @Excel(name = "护士类型")
    private String userType;

    /** 交接班信息 */
    private List<WorkChange> workChangeList;

    public void setNursSchedulId(Long nursSchedulId) 
    {
        this.nursSchedulId = nursSchedulId;
    }

    public Long getNursSchedulId() 
    {
        return nursSchedulId;
    }

    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }

    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    public void setSurgeryId(Long surgeryId) 
    {
        this.surgeryId = surgeryId;
    }

    public Long getSurgeryId() 
    {
        return surgeryId;
    }

    public void setUserType(String userType) 
    {
        this.userType = userType;
    }

    public String getUserType() 
    {
        return userType;
    }

    public List<WorkChange> getWorkChangeList()
    {
        return workChangeList;
    }

    public void setWorkChangeList(List<WorkChange> workChangeList)
    {
        this.workChangeList = workChangeList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("nursSchedulId", getNursSchedulId())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("surgeryId", getSurgeryId())
            .append("userType", getUserType())
            .append("workChangeList", getWorkChangeList())
            .toString();
    }
}
